package com.gulimall.product.feign;

import com.common.to.UpSkuTo;
import com.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("gulimall-search")
public interface EsSkuFeignService {
    @RequestMapping("/es/save")
    public R saveEs(@RequestBody List<UpSkuTo> upSkuToList);
}
